jQuery(function() {
  jQuery('.menu li:first-child').addClass('first-child');
  jQuery('.menu li:last-child').addClass('last-child');
  var columns  = 2;
  ourPeopleMasonry = function() {
    if (jQuery('.post-type-archive-our-people .people-inner').length < 1)
      return;
    jQuery('.post-type-archive-our-people .people-inner').masonry({
      itemSelector: '.our-people',
      columnWidth:  function( containerWidth ) {
        return containerWidth / columns;
      }
    });
  };
  ourPeopleMasonry();
  jQuery(window).on('load resize', function(){
    ourPeopleMasonry();
  });
});